package cn.hdmis.controller;

import java.util.List;

import org.directwebremoting.annotations.RemoteMethod;

import cn.hdmis.entity.ClassRoom;
import cn.hdmis.service.ClassRoomService;

public class RoomController {
	
	private ClassRoomService classRoomService;
	
	public void setClassRoomService(ClassRoomService classRoomService) {
		this.classRoomService = classRoomService;
	}

	public ClassRoomService getClassRoomService() {
		return classRoomService;
	}

	@RemoteMethod
	public List<ClassRoom> getRoom(){
		return classRoomService.getClassRoom();
	}
}
